package com.mcc.collect.config;

import com.mcc.collect.cache.domain.PlcCache;
import lombok.Data;

import java.util.LinkedHashMap;
import java.util.Map;

@Data
public class GlobalVar {

    public static Map<String, PlcCache> itemMap = new LinkedHashMap<>();//opc地址和缓存配置映射

    public static Map<String, String> codeMap = new LinkedHashMap<>();//code与opc地址映射

    public static boolean initOpc = false;//是否初始化完成OPC配置

    public static boolean topInsert = true;//是否首次插入历史
}
